package com.jerry.quartz.domain;

/**
 * Created by Shirly on 2016/12/14.
 */
public class SchedluerTask {
    private String id;
    private String parentId = "";
    private String name ="";
    private String desc ="";
    private int plate = 0;
    private String group = "";
    private String groupDesc ="";
    private String cron = "";
    private String cronDesc= "";
    private String trigger ="";
    private String triggerDesc= "";
    private int excute = 0;
    private long lastExeTime = 0l;
    private long lastFinshTime = 0;
    private int state = 1;//0 禁用 1 启动 2删除
    private int delay =0; //延迟时间 默认为0


    public SchedluerTask(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getPlate() {
        return plate;
    }

    public void setPlate(int plate) {
        this.plate = plate;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getGroupDesc() {
        return groupDesc;
    }

    public void setGroupDesc(String groupDesc) {
        this.groupDesc = groupDesc;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public String getCronDesc() {
        return cronDesc;
    }

    public void setCronDesc(String cronDesc) {
        this.cronDesc = cronDesc;
    }

    public String getTrigger() {
        return trigger;
    }

    public void setTrigger(String trigger) {
        this.trigger = trigger;
    }

    public String getTriggerDesc() {
        return triggerDesc;
    }

    public void setTriggerDesc(String triggerDesc) {
        this.triggerDesc = triggerDesc;
    }

    public int getExcute() {
        return excute;
    }

    public void setExcute(int excute) {
        this.excute = excute;
    }

    public long getLastExeTime() {
        return lastExeTime;
    }

    public void setLastExeTime(long lastExeTime) {
        this.lastExeTime = lastExeTime;
    }

    public long getLastFinshTime() {
        return lastFinshTime;
    }

    public void setLastFinshTime(long lastFinshTime) {
        this.lastFinshTime = lastFinshTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getDelay() {
        return delay;
    }

    public void setDelay(int delay) {
        this.delay = delay;
    }
}
